import 'package:meta/meta.dart';
import 'package:state_management_flutter_bloc/models/api_models.dart';

abstract class PlayerListingState {}

class PlayerUninitializedState extends PlayerListingState {}

class PlayerListLoadingMoreState extends PlayerListingState {
  final List<Players> players ;
  PlayerListLoadingMoreState({@required this.players}):assert(players !=null);
}

class PlayerFetchingState extends PlayerListingState {}

class PlayerFetchedState extends PlayerListingState {
  final List<Players> players ;
  PlayerFetchedState({@required this.players}):assert(players !=null);
}

class PlayerErrorState extends PlayerListingState {}

class PlayerEmptyState extends PlayerListingState{}

